﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="admin_website_news_addup.aspx.cs" Inherits="PM.Web.Admin.admin_website_news_addup" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <link rel="stylesheet" type="text/css" href="css/adm.css" />
    <script src="Scripts/artclose.js" type="text/javascript"></script>
    <script src="../Scripts/artDialog.min.js" type="text/javascript"></script>
    <script charset="utf-8" src="editor/kindeditor.js"></script>
    <script>
        KE.show({
            id: 'editor_id'
        });
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div><input type="hidden" id="hidflag" value="0" runat="server" /><input type="hidden" value="0" id="hidId" runat="server" />
        <p>所属社区：<asp:DropDownList ID="ddlCommunity" DataTextField="treeName" DataValueField="self_community_code" runat="server"></asp:DropDownList></p>
        <p>新闻类别：<asp:DropDownList ID="ddlNewsClass" DataTextField="name" DataValueField="id" runat="server"></asp:DropDownList></p>
        <p>标　　题：<asp:TextBox ID="txtTitle" runat="server" Width="600px"></asp:TextBox></p>
        <p>标题图片：<asp:FileUpload ID="filePic" runat="server" /><asp:Label ID="lblpic" runat="server"></asp:Label> (此处添加了图片即为图片新闻)<input type="hidden" id="hidpic" runat="server" /></p>
        <p>内　　容：<textarea id="editor_id" name="content" cols="100" rows="8" style="width:700px;height:300px;" runat="server"></textarea></p>
        </p>
        <p style="text-align:center">
                <asp:Button ID="cmdOk" runat="server" Text="保存退出" onclick="cmdOk_Click" />&nbsp;&nbsp;<input type=button value="关闭" onclick="art.dialog.close();" />
        </p>
    </div>
    </form>
</body>
</html>

